//
//  EVSimpleAlertContentView.h
//  EVClub
//
//  Created by Eric on 16/8/1.
//  Copyright © 2016年 BitRice. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "EVTextField.h"
@protocol TDAlertViewDelegate;
@interface EVSimpleAlertContentView : UIView<EVTextFieldDelegate>
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailLabel;
@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *oneButtonConstratnt;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *detailTopConstraint;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *detailBottomConstraint;
@property (weak, nonatomic) IBOutlet UIView *sepLineView;
@property (weak, nonatomic) IBOutlet UIButton *commitButton;
@property (weak, nonatomic) IBOutlet EVTextField *inputTF;
@property (weak, nonatomic) id<TDAlertViewDelegate> delegate;
@property(nonatomic) BOOL isInputAlertView;
+ (instancetype)instanceWithTitle:(NSString *)title detail:(NSString *)detail commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;
+ (instancetype)instanceInputViewWithTitle:(NSString *)title commitButton:(NSString *)commitButton cancelButton:(NSString *)cancelButton;
@end
